package cn.zh.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Houseresource {

    private Long id;
    private String houseUsername; //用户的账号
    private Double price; //价格
    private String introduce; //介绍
    private String characteristic;//特点
    private String communityName;//小区名称
    private String communityAddress;//小区地址
    private Long contactNumber;//联系电话（管理员）
    private String pattern;//格局
    private Double size;//大小
    private String orientation;//朝向
    private Long bed;//床 有为1 无为0 以下均是
    private Long airConditioner;//空调
    private Long wardrobe;//衣柜
    private Long washingMachine;//洗衣机
    private Long sofa;//沙发
    private Long refrigerator;//冰箱
    private String img;//图片
    private Long auditStatus;//审核状态  待审核为0  通过为1  不通过为2
    private Long houseStatus;//房屋状态 是否出租  出租为1  未出租为0
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


  }

